package contract

import "context"

/**
 * @Author: xiuliu
 * @Description:
 * @File:  sr_common_repo_iface
 * @Version: 1.0.0
 * @Date: 2023/09/22 15:17
 */

type SrCommonRepoIface interface {
	GetList(ctx context.Context, sql string) ([]map[string]interface{}, error)
	GetTotal(ctx context.Context, sql string) (int64, error)
	Save(ctx context.Context, sql string) (bool, error)
}
